﻿using System.ServiceModel;
using VideoServices.Services.Dto;
using VideoServices.Services.Response;

namespace VideoServices.Services.Interface
{
    [ServiceContract]
    public interface ICustomerService
    {
        /// <summary>
        /// Gets the customer by id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        [OperationContract]
        Response<CustomerDto> GetCustomerById(int id);

        /// <summary>
        /// Creates the customer.
        /// </summary>
        /// <param name="newCustomer">The new customer.</param>
        /// <returns></returns>
        [OperationContract]
        Response<CustomerDto> CreateCustomer(CustomerDto newCustomer);
    }
}